home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / getmatrix.z / getmatrix
Encoding:
Text File  |  1998-10-20  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttmmmmaaaattttrrrriiiixxxx((((3333GGGG))))                                                    ggggeeeettttmmmmaaaattttrrrriiiixxxx((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttmmmmaaaattttrrrriiiixxxx - returns a copy of a transformation matrix
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ggggeeeettttmmmmaaaattttrrrriiiixxxx((((mmmm))))
  13.      MMMMaaaattttrrrriiiixxxx mmmm;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _m   expects an array into which to copy a matrix.
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      ggggeeeettttmmmmaaaattttrrrriiiixxxx copies a transformation matrix into a user-specified array.
  20.      When mmmmmmmmooooddddeeee is MMMMSSSSIIIINNNNGGGGLLLLEEEE, the matrix from the top of the single matrix stack
  21.      is returned.  When mmmmmmmmooooddddeeee is MMMMVVVVIIIIEEEEWWWWIIIINNNNGGGG, the matrix from the top of the
  22.      ModelView matrix stack is returned.  When mmmmmmmmooooddddeeee is MMMMPPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN, the
  23.      projection matrix is returned.  And when mmmmmmmmooooddddeeee is MMMMTTTTEEEEXXXXTTTTUUUURRRREEEE, the texture
  24.      matrix is returned.
  25.  
  26.      ggggeeeettttmmmmaaaattttrrrriiiixxxx does not alter the state of the graphics system.
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      loadmatrix, mmode, multmatrix, popmatrix, pushmatrix
  30.  
  31. NNNNOOOOTTTTEEEE
  32.      This routine is available only in immediate mode.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.